package cn.aimee.permissionlib;

import android.os.Bundle;

import cn.aimee.permission.ui.activity.PermissionBaseActivity;
import cn.aimee.permission.util.permission.PermissionDescriptionUtil;

public class MainActivity extends PermissionBaseActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        checkPermissions(PermissionDescriptionUtil.appNeedPermissions, new OnPermissionResultListener() {
            @Override
            public void onPermissionGranted() {

            }

            @Override
            public void onPermissionDenied() {

            }
        });
    }
}
